package com.duobaoyu.dby.supply.db.mapper.order;

import com.duobaoyu.dby.common.mybatis.base.DbyBaseMapper;
import com.duobaoyu.dby.supply.common.biz.bo.product.OrderProductSellCountBO;
import com.duobaoyu.dby.supply.common.biz.dto.order.OrderProductStatisticsDTO;
import com.duobaoyu.dby.supply.db.entity.order.OrderProduct;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 订单商品信息表
 *
 * @author LY
 * @email 249007302@qq.com
 * @date 2023-09-26 10:42:54
 */
@Mapper
public interface OrderProductMapper extends DbyBaseMapper<OrderProduct> {

    /**
     * 统计订单商品销量
     */
    List<OrderProductSellCountBO> statisticsProductSellCount(OrderProductStatisticsDTO orderProductStatistics);
}
